package com.heima.model.wemedia.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.heima.model.common.dtos.PageRequestDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WmNewsPageReqDto extends PageRequestDto {

    @ApiModelProperty(value = "状态")
    private Short status;//状态

    @ApiModelProperty(value = "开始时间")
    private Date beginPubdate;//开始时间

    @ApiModelProperty(value = "结束时间")
    private Date endPubdate;//结束时间

    @ApiModelProperty(value = "所属频道ID")
    private Integer channelId;//所属频道ID



    @ApiModelProperty(value = "关键字")
    @JsonProperty("keyword")//取别名
    private String keyWord;//关键字
}